<style>
.content-wrapper {
	float:left;
}
.cover-wrapper .cover-icon {
    width: 60px;
    height: 60px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
    display: inline-block;
	border:none;
	border:1px solid #f1f1f1;
}
.cover-wrapper {
    width: 60px;
    margin-right: 15px;
    float: left;
}
.thumbnail{
	position:relative;
    padding: 10px;
	min-height:44px; 
	overflow:hidden;
	width:50%;
	float:left;
	box-sizing: border-box;
}
.cover-wrapper .cover-icon i {
    font-size: 64px;
    line-height: 120px;
    color: white;
}
.content-wrapper .bottom-btns {
    margin-top: 10px;
}
.content-wrapper .title a {
    font-size: 14px;
    color: #333;
}
.content-wrapper .title{
    margin-bottom:0;
}
h3{padding:10px 0; line-height:25px; height:25px; clear:both}
h4{margin-bottom:10px; line-height:25px; height:25px; clear:both}
.module-list{overflow:hidden;}
</style>
<div class="module-list layui-elem-quote layui-quote-nm">
    <volist name="modules" id="vo">
		<div class="thumbnail">
			<div class="cover-wrapper">
				<div style="position:relative; border-radius: 16px; -moz-border-radius: 16px; -webkit-border-radius: 16px;">
					<img src=".{$vo.path}/preview.jpg" alt="{$vo.name}" class="cover-icon" style="width:100%;">
				</div>
			</div>
			<div class="content-wrapper">
				<div class="title">
					<a href="{:U('config',array('id'=>$vo['id']))}" class="" title="{$vo.title}（{$vo.name}），{$vo.description}，{$vo.author}">{$vo.title}</a>
					<empty name="vo['token']">
						<span class="layui-btn layui-btn-xs layui-btn-primary" style="">本地</span>
						<else/>
						<span class="layui-btn layui-btn-xs layui-btn-primary" style="">云</span>
					</empty>
					<empty name="vo['update_list']">
						<empty name="vo['token']">
							<span class="layui-btn layui-btn-xs layui-btn-primary">{$vo.version}</span>
						<else/>
							<span class="layui-btn layui-btn-xs layui-btn-primary">{$vo.version_info.version}</span>
						</empty>
						<else/>
						<php>$vt = version_compare($vo['version'],$vo['update_list'][0]['version']);
						if($vt < 0){</php>
							<span class="layui-btn layui-btn-xs layui-btn-primary">有新版{$vo.update_list.0.version}</span>
						<php>}else{</php>
							<span class="layui-btn layui-btn-xs layui-btn-primary">{$vo.version}</span>
						<php>}</php>
					</empty>
				</div>
				<div class="" style="position:relative;">
					<empty name="vo['update_list']">
						<else/>
						<php>$vt = version_compare($vo['version'],$vo['update_list'][0]['version']);
						if($vt < 0){</php>
							<a target="_blank" href="{:appstoreU('Appstore/Index/goodsDetail',array('token'=>$vo['token']))}" class="layui-btn layui-btn-xs layui-btn-primary">查看</a>
						<php>}else{</php>
							<a target="_blank" href="{:appstoreU('Appstore/Index/goodsDetail',array('token'=>$vo['token']))}" class="layui-btn layui-btn-xs layui-btn-primary">查看</a>
						<php>}</php>
						
					</empty>
				</div>
			</div>
		</div>
    </volist>
</div>
<div class="">
	<p>当前需要升级的版本：<strong>{$versionList.0.version}</strong></p>
	<p>当前的版本号：<strong>{$modules.0.version}</strong></p>
</div>